package com.simon.app.october.modules.job.dao;

import com.simon.app.october.common.utils.QueryPage;
import com.simon.app.october.modules.job.entity.ScheduleJobEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ScheduleJobDao {
    public List<ScheduleJobEntity> getPageByParams(QueryPage params);
    public int                     getTotalByParams(QueryPage params);
    public ScheduleJobEntity       findById(long jobId);
    public void                    insert(ScheduleJobEntity entity);
    public void                    update(ScheduleJobEntity entity);
    public void                    delete(List<Long> jobIds);
    public void                    alterStatus(Map map);
}
